package cn.fss.elasticsearch.service;

import cn.fss.common.core.page.TableDataInfo;
import cn.fss.elasticsearch.domain.DocumentObj;
import cn.fss.elasticsearch.domain.SearchReq;

public interface ISearchSerice {
	
	public static final String INDEX_DEFAULT_NAME = "docwrite";

	public TableDataInfo search(SearchReq req);
	
	public Boolean uploadFile(DocumentObj data);
	
	public boolean deleteDocumnet(String index,String docId);
}
